
#include "TwoD_Manage.h"


/////////////////////////////////////
////          Struct part        ////
/////////////////////////////////////

/**
 *
 */
TwoD_Manage_Conf::TwoD_Manage_Conf() : Data_Manage_Conf()
{
}



/////////////////////////////////////
////          Class part         ////
/////////////////////////////////////

/**
 * declare static variable
 */
TwoD_TexCan* TwoD_Manage::s_c2DTexLoad = 0;


/**
 *
 */
TwoD_TexCan* TwoD_Manage::getTexLoader()
{
    return this->s_c2DTexLoad;
}

/**
 *
 */
int TwoD_Manage::initTexLoader()
{
    if(this->s_c2DTexLoad == NULL)
    {
        this->s_c2DTexLoad = new TwoD_TexCan();
    }
    
    this->s_c2DTexLoad->loadTex();
}

/**
 *
 */
TwoD_Manage::TwoD_Manage() : Data_Manage()
{
    m_sTwoD_Manage_Conf = new TwoD_Manage_Conf();
}








